export default {
  namespaced: true,
  state () {
    return {
      url: JSON.parse(localStorage.getItem('url'))
    }
  },
  // 谬腿行死
  mutations: {
    // 修改用户信息，payload就是用户信息对象
    seturl (state, url) {
      state.url = url
      localStorage.setItem('url', JSON.stringify(url))
      console.log(JSON.stringify(url))
    }

  },

  actions: {

  }

}
